package org.noobie.photopicker.entity;

public class Album {
    private String name;
    private String recent;
    private int count;
    private boolean isChecked;

    public Album(String name, String recent, int count, boolean isChecked) {
        this.name = name;
        this.recent = recent;
        this.count = count;
        this.isChecked = isChecked;
    }

    public Album(String name, String recent, int count) {
        this.name = name;
        this.recent = recent;
        this.count = count;
        this.isChecked = false;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRecent() {
        return recent;
    }

    public void setRecent(String recent) {
        this.recent = recent;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public void increaseCount() {
        count++;
    }
}
